<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>Insert title here</title>
	<link rel="stylesheet" href="${pageContext.request.contextPath}/css/add.css">
	<link rel="stylesheet" href="${pageContext.request.contextPath}/lib/bp.css">
	<style type="text/css">
		.breadcrumb{
			margin-bottom:0;
		    padding-bottom: 20px;
		}
		.breadcrumb,.breadcrumb li{
			font-size:20px;
			background: white;
			line-height: 50px;
		}
		.breadcrumb li a:hover{
			text-decoration: underline;
		}
		.form-control{
			height: auto;
		}
		.form-group{
			overflow: hidden;
			margin-bottom: 30px;
		}
		.sub{
			width:300px;
			margin-left:150px;
			display: flex;
			justify-content: space-around;
		}
		.btn{
			width: 80px;
		}
	
	</style>
</head>
<body style="background: #f5f5f5">
	
	<div class="header">
		<h1><a href="#">青年公寓项目</a></h1>
		<div class="user">
			<a href="#">${user}用户</a>
			<a href="${pageContext.request.contextPath}/user/exit">退出</a>
		</div>
	</div>
	<div style="margin: 15px 150px;">
		<div style="border-radius:5px;">
			<ol class="breadcrumb">
				<li><a href="${pageContext.request.contextPath}/house/huoseList?index=1">公寓管理</a></li>
				<li><a href="${pageContext.request.contextPath}/house/huoseList?index=1">租户信息</a></li>
				<li class="active">修改租户信息</li>
			</ol>
			<div style="padding: 0 150px;overflow: hidden;background: white;">
					<!-- onsubmit="subForm()" -->
				<form action="${pageContext.request.contextPath}/lessee/updateLesseeMes?id=${lessees.l_id}" method="post" 
					  class="form-horizontal">
					 <div class="form-group">
					    <label class="col-sm-2 control-label">姓名</label >
					    <div class="col-sm-5">
					    	<input class="form-control" name="l_name" placeholder="姓名" value="${lessees.l_name}">
					    </div>
					  </div>
					  <div class="form-group">
					    <label  class="col-sm-2 control-label">电话</label>
					    <div class="col-sm-5">
					    	<input class="form-control" name="l_tel" placeholder="电话" value="${lessees.l_tel}">
					    </div>
					  </div>
					  <div class="form-group">
					    <label  class="col-sm-2 control-label">籍贯</label>
					    <div class="col-sm-5">
					    	<input class="form-control" name="l_native_place" placeholder="籍贯" value="${lessees.l_native_place}">
					    </div>
					  </div>
					  <div class="form-group">
					    <label  class="col-sm-2 control-label">性别</label>
					    <label class=" radio-inline" style="margin-left: 15px;">
					    	<input type="radio" name="l_sex" value="0" checked="checked" ${lessees.l_sex=='0'?'checked':'' }>男
					    </label >
					    <label  class=" radio-inline">
				    		<input type="radio" name="l_sex" value="1"  ${lessees.l_sex=='1'?'checked':'' }>女
					    </label >
					  </div>
					  <div class="form-group">
					    <label  class="col-sm-2 control-label">身份证号</label>
					    <div class="col-sm-5">
					    	<input class="form-control" name="l_id_card" placeholder="身份证号" value="${lessees.l_id_card}">
					    </div>
					  </div>
					  <div class="sub" >
					 		<input type="submit" value="提交" class="btn btn-info">
					 		<input type="button" value="取消" class="btn btn-info" onclick="window.history.back();">
					  </div>
				</form>
				<div class="footer">
					智游教育 ©2018 河南智游臻龙教育科技有限公司
				</div>
			</div>
		</div>
		
	</div>
	<!-- 表单验证待完成 -->
	<script type="text/javascript">
		
	</script>
</body>
</html>